

const { uuid } = require('../../common/utils/uuidUtil');



exports.shellPluginWarper = function (request, event) {

}


exports.functionPluginWarper = function (name, desc, icon, action) {
    return {
        type: "function",
        name: name,
        desc: desc,
        action: action,
        icon: icon,
        pluginId: uuid()
    }
}



exports.functionPluginWarper = function (name, desc, icon, action) {
    return {
        type: "function",
        name: name,
        desc: desc,
        action: action,
        icon: icon,
        pluginId: uuid()
    }
}
